from multiprocessing import Process
import time
import sys
import io

sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')


class test(object):
    def a1(self):
        print("a1")
        time.sleep(1225)
        print("xxzz-")

    def a2(self):
        print("a2")
        time.sleep(1225)
        print("xxzz-")

    def a3(self):
        print("a3")
        time.sleep(1225)
        print("xxzz-")

    # def run(self):


if __name__ == '__main__':
    process_a1 = Process(target=test().a1)
    process_a2 = Process(target=test().a2)
    process_a3 = Process(target=test().a3)
    process_a1.start()
    process_a2.start()
    process_a3.start()
